#ifndef LAN2CAL_H
#define LAN2CAL_H

#include <QCalendarWidget>
#include <QObject>
#include <QWidget>
#include "lan2core.h"

LAN2STA

class Lan2Cal : public QCalendarWidget
{
    Q_OBJECT
public:
    Lan2Cal(QWidget *parent = nullptr,int width=360,int height=270);
    const QString ms_bgcolor="#FDFDFD";
    const QString ms_selectedcolor="#0091ff";//0091ff f0f0f0

//    int m_size=0;

    // QCalendarWidget interface
protected:
    void paintCell(QPainter *painter, const QRect &rect, const QDate &date) const;
};

LAN2END
#endif // LAN2CAL_H
